all: VFS

VFS: bin/mount.o bin/Hash.o bin/traverse.o bin/linked.o bin/nArrayAddNode.o bin/removeTraverse.o bin/list.o bin/searchNode.o bin/int.o bin/movedir.o bin/bst.o bin/free_block.o
	gcc -o bin/VFS bin/mount.o bin/Hash.o bin/traverse.o bin/linked.o bin/nArrayAddNode.o bin/removeTraverse.o bin/list.o bin/searchNode.o bin/int.o bin/movedir.o bin/bst.o bin/free_block.o

bin/mount.o: src/mount.c include/Hash.h include/test.h
	gcc -c src/mount.c -o bin/mount.o

bin/Hash.o: src/Hash.c include/Hash.h include/test.h include/linked.h 
	gcc -c src/Hash.c -o bin/Hash.o

bin/traverse.o: src/traverse.c include/test.h
	gcc -c src/traverse.c -o bin/traverse.o

bin/linked.o: src/linked.c include/linked.h
	gcc -c src/linked.c -o bin/linked.o

bin/nArrayAddNode.o: src/nArrayAddNode.c include/test.h
	gcc -c src/nArrayAddNode.c -o bin/nArrayAddNode.o

bin/removeTraverse.o: src/remove.c include/test.h
	gcc -c src/remove.c -o bin/removeTraverse.o

bin/list.o: src/list.c include/test.h
	gcc -c src/list.c -o bin/list.o

bin/searchNode.o: src/searchNode.c include/test.h
	gcc -c src/searchNode.c -o bin/searchNode.o

bin/int.o: src/vfsdriver.c include/test.h
	gcc -c src/vfsdriver.c -o bin/int.o

bin/movedir.o: src/movedir.c include/test.h include/Hash.h
	gcc -c src/movedir.c -o bin/movedir.o

bin/bst.o: src/bst_ter.c include/test.h include/bst.h
	gcc -c src/bst_ter.c -o bin/bst.o

bin/free_block.o: src/link_free_blockd.c include/linked_block.h
	gcc -c src/link_free_blockd.c -o bin/free_block.o
